package cn.stylefeng.guns.modular.erlist.mapper;

import cn.stylefeng.guns.modular.erlist.model.result.postArticle;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import cn.stylefeng.guns.modular.erlist.entity.ErList;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * er_list Mapper 接口
 *
 * @author w
 * @date 2021/06/12 15:52
 */
public interface ErListMapper extends BaseMapper<ErList> {
    // 包装发送的帖子
    postArticle post(Long createUser);

    // 获取用户所有的点赞数
    int getAllLike(Long createUser);

}